package com.leadingsoft.pwxk.services.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.leadingsoft.pwxk.model.ProcessChart;
import com.leadingsoft.pwxk.repository.ProcessChartRepository;
import com.leadingsoft.pwxk.services.AbstractService;

@Service
public class ProcessChartServiceImpl extends AbstractService<ProcessChart> {

	@Autowired
	ProcessChartRepository processChartRepository;

	@Override
	public void saveAll(List<ProcessChart> models) {
		processChartRepository.saveAll(models);
	}

	@Override
	public void deleteAll() {
		processChartRepository.deleteAll();
	}

	@Override
	public void save(ProcessChart model) {
		processChartRepository.save(model);
	}

}
